package com.csy.user.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csy.user.entity.ParkSpace;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2025-02-27
 */
public interface IParkSpaceService extends IService<ParkSpace> {

    /**
     * 查询车位列表
     * @param parkSpace
     * @return
     */
    List<ParkSpace> getSpaces(ParkSpace parkSpace);

    /**
     * 统计车位数
     * @return
     */
    int countParkSpace();
}
